
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html>
<html>
    <head>
        <sj:head />
        <title>My Publication</title>
        <script src="js/jquery.cookie.js"></script>
        <script src="js/coms.js"></script>
        <script src="js/bootstrap.min.js"></script>
    </head>
    <body>
        <s:include value="/jsp/header.jsp">
            <s:param name="user" value="#session.user.username" />
        </s:include>
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span3">
                    <s:action name="selectMenu" executeResult="true"/>
                </div>
                <div class="span9">
                    <div class="hero-unit">
                        <s:form action="%{action}">
                           
                           
                            <table align="center" cellpadding="5">
                                  <tr>
                                <td colspan="7"><h2>Your Publications</h2></td>
                            </tr>
                                <tr style="background: #0088cc">
                                    <th><s:text name="fieldLabel.conferenceItem"/></th>
                                    <th><s:text name="fieldLabel.title"/></th>
                                    <th><s:text name="fieldLabel.content"/></th>
                                    <th><s:text name="fieldLabel.firstAuthor"/></th>
                                    <th><s:text name="fieldLabel.presentationType"/></th>
                                    <th colspan="2">Action</th>
                                </tr>

                                <s:iterator value="publicationList" status="publicationStatus">
                                    <s:if test="#publicationStatus.even == true">
                                        <tr style="background: #f2f4fe">
                                        </s:if>
                                        <s:else>
                                        <tr style="background: #dae2fc">
                                        </s:else>
                                            
                                        <td> <s:property value="conferenceItem.topic"/></td>
                                        <td> <s:property value="title"/></td>
                                        <td> <s:property value="content"/></td>
                                        <td> <s:property value="firstAuthor.fullname"/></td>
                                        <td> <s:property value="presentationType.name"/></td>
                                        <td> <a href="<s:url action="viewReviewListPublicationReview_%{id}_" />"><s:text name="label.viewReviews"/> </a> </td>
                                        </tr>
                                </s:iterator>
                            </table>

                        </s:form>
                    </div>
                    <div class="row-fluid">

                    </div>
                </div>
            </div>
        </div>
        <s:include value="/jsp/footer.jsp"/>
    </body>
</html>
